<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>TransformSprite</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">TransformSprite()</font></b></p>
<p><b>语法</b></p><blockquote>
<font color="#006666"><b>TransformSprite</b></font>(#Sprite, x1, y1, [z1], x2, y2, [z2], x3, y3, [z3], x4, y4, [z4])</blockquote>

</blockquote>
<b>概要</b><br><blockquote>



Transforms the sprite to the new given coordinates. This is typically used to perform 
real-time transformations. Warning, as a sprite is a combination of 2 triangles, the transformation 
could looks strange. If one of the optional 'z' parameter is specified, all need to be specified. 

 

</blockquote><p><b>参数</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>x1, y1</i></td>
<td width="90%"> 
 
First point coordinate, in pixel 

 

</td></tr>
<tr><td><i>x2, y2</i></td>
<td> 
 
Second point coordinate, in pixel 

 

</td></tr>
<tr><td><i>x3, y3</i></td>
<td> 
 
Third point coordinate, in pixel 

 

</td></tr>
<tr><td><i>x4, y4</i></td>
<td> 
 
Fourth point coordinate, in pixel 

 

</td></tr>
<tr><td><i>z1, z2, z3, z4</i></td>
<td> 
 
The 'z' value, which specify the depth of the points. 

 

</td></tr>
</table>
</blockquote><p><b>返回值</b></p><blockquote>
无.


<pre><font face="Courier New, Courier, mono"size="2">
  ;
  ; x1         x2
  ;   ---------
  ;   |      /|
  ;   |    /  |
  ;   |  /    |
  ;   |/      |
  ;   ---------
  ; x4         x3
  ;

</font></pre>

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center>&lt;- <a href=spritewidth.html>SpriteWidth()</a> - <a href=index.html>Sprite Index</a> - <a href=transparentspritecolor.html>TransparentSpriteColor()</a> -&gt;



</body></html>